package com.ourteam.datawarehouse.service;
/**
 * Template Name : 服务对象接口 Template Version : 1 Template Last Modfiy Date : Fri Sep 07 11:33:52 CST
 * 2018 Auto Generate Date : 2019-02-13 11:54:29 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IDataSourceService {

  /**
   * @param com.ourteam.datawarehouse.domain.DataSourceBean
   * @throws Exception
   */
  void addNewDataSource(final com.ourteam.datawarehouse.domain.DataSourceBean aDataSource)
      throws Exception;

  /**
   * @param com.ourteam.datawarehouse.domain.DataSourceBean
   * @throws Exception
   */
  void modifyDataSource(final com.ourteam.datawarehouse.domain.DataSourceBean aDataSource)
      throws Exception;

  /**
   * @param long
   * @throws Exception
   */
  void deleteDataSources(final long[] aDataSourceIds) throws Exception;

  /**
   * @param long
   * @throws Exception
   */
  com.ourteam.datawarehouse.domain.DataSourceBean getDataSourceById(final long aDataSourceId)
      throws Exception;

  /**
   * @param com.ourteam.datawarehouse.dao.DataSourceDAOQueryBean
   * @throws Exception
   */
  com.ourteam.datawarehouse.domain.DataSourceBean[] queryDataSources(
      final com.ourteam.datawarehouse.dao.DataSourceDAOQueryBean queryBean) throws Exception;

  /**
   * @param com.ourteam.datawarehouse.dao.DataSourceDAOQueryBean
   * @throws Exception
   */
  int queryDataSourceCount(final com.ourteam.datawarehouse.dao.DataSourceDAOQueryBean queryBean)
      throws Exception;
}
